package com.sinosoft.hydra.um.domain.model;

import java.io.Serializable;
import java.util.Date;

public class FileInfo implements Serializable {

    private String attachmentName;


    private String attachment;


    private String fileType;

    private Date uploadTime;

    private int width;
    private int height;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table T_FILE
     *
     * @mbggenerated Wed Sep 16 09:56:03 CST 2015
     */
    private static final long serialVersionUID = 1L;

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table T_FILE
     *
     * @mbggenerated Wed Sep 16 09:56:03 CST 2015
     */

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", attachmentName=").append(attachmentName);
        sb.append(", attachment=").append(attachment);
        sb.append(", fileType=").append(fileType);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append("]");
        return sb.toString();
    }
}